import math
def print_1_2N_acc(N):
    formu_res_arr = []
    for i in range(1,N+1):
        formu = [ '1/{}'.format(str(2**j) if j<=4 else '2^'+str(j)) for j in range(1,i+1)]
        res = [ 1/math.pow(2,j) for j in range(1,i+1)]
        formu_res =  "{} = {}".format( '+'.join(formu), sum(res) )
        formu_res_arr.append(formu_res)
    print('\n'.join(formu_res_arr))